/* 登录和注册页面通用样式 */
.loginContainer {
  max-width: 420px;
  margin: 0px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background-color: #fff;
  transition: all 0.3s ease;
}

.loginHeader {
  text-align: center;
  margin-bottom: 30px;
}

.loginTitle {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.loginSubtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* 表单样式 */
.formGroup {
  margin-bottom: 20px;
}

.formLabel {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.formInput {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.formInput:focus {
  border-color: #4096ff;
  box-shadow: 0 0 0 2px rgba(64, 150, 255, 0.2);
  background-color: #fff;
  outline: none;
}

/* 按钮样式 */
.loginButton {
  width: 100%;
  padding: 12px 15px;
  background-color: #4096ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loginButton:hover {
  background-color: #1677ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 150, 255, 0.3);
}

.loginButton:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(64, 150, 255, 0.2);
}

/* 底部链接样式 */
.bottomLinks {
  text-align: center;
  font-size: 14px;
  padding-left: '170px';
  color: #666;
}

.linkText {
  color: #4096ff;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
  margin: 0 8px;
}

.linkText:hover {
  color: #1677ff;
  text-decoration: underline;
}

/* 分隔符 */
.divider {
  display: inline-block;
  color: #ccc;
  margin: 0 8px;
}

/* 验证码相关样式 */
.captchaContainer {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 手机验证码输入框组 */
.codeInputGroup {
  display: flex;
  align-items: center;
}

.codeInput {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.codeButton {
  padding: 12px 15px;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-left: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  color: #4096ff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.codeButton:hover:not(:disabled) {
  background-color: #e6f7ff;
}

.codeButton:disabled {
  color: #bbb;
  cursor: not-allowed;
}

/* 卡片样式 */
.loginCard {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.cardTitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.cardContent {
  padding: 30px;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .loginContainer {
    margin: 20px auto;
    padding: 20px;
    width: 90%;
    height: 100vh;
  }

  .loginTitle {
    font-size: 24px;
  }

  .formInput,
  .loginButton {
    padding: 10px 12px;
  }
}